package com.awaken.content.service;

import com.awaken.content.models.dto.LoginResultDTO;
import com.awaken.content.models.request.LoginRequest;
import com.awaken.content.models.request.RegisterRequest;
import com.awaken.content.models.request.SendVerificationCodeRequest;

public interface AuthService {
    
    LoginResultDTO login(LoginRequest request);
    
    LoginResultDTO register(RegisterRequest request);
    
    void logout(String sessionToken);
    
    Boolean sendVerificationCode(SendVerificationCodeRequest request);
    
    Boolean verifyCode(String email, String code, Integer type);
    
    LoginResultDTO validateSession(String sessionToken);
} 